package com.util;
/**
 * JNI调用类
 * @author juli
 *
 */
public class IDEAUtil {
	public static String poly = "04C11DB7";

	public native String encodingCode(String key,String value);

	public native String decodingCode(String key,String value);
	// 计算CRC32
	public native String compareCRC32(String poly,int scz,int dateLength,String strDate,String crc,boolean isfind);

	static{
		System.loadLibrary("IDEA");
	}
}
